//
//  Owner_ChatViewController.m
//  YLProject
//
//  Created by 张伯林 on 2018/2/1.
//  Copyright © 2018年 WY. All rights reserved.
//

#import "Owner_ChatViewController.h"

@interface Owner_ChatViewController ()

@end

@implementation Owner_ChatViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
}
- (void) viewWillAppear: (BOOL)animated {
    //打开键盘事件相应
    [IQKeyboardManager sharedManager].enable = NO;
    [IQKeyboardManager sharedManager].enableAutoToolbar = NO;
}

- (void) viewWillDisappear: (BOOL)animated {
    //关闭键盘事件相应
    [IQKeyboardManager sharedManager].enable = YES;
    [IQKeyboardManager sharedManager].enableAutoToolbar = YES;
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
